﻿using MediatR;
using Provenance.ErrorCount;

namespace Provenance.Write.Api.Application.Command.Slaughter
{
    public class UpSlaughterInfoCommand:IRequest<ApiResult>
    {
        public int SlaughterInfoId { get; set; }
        public int ProductInfoId { get; set; }
        /// <summary>
        /// 批次
        /// </summary>
        public string Batch { get; set; } = string.Empty;
        /// <summary>
        /// 到厂均重
        /// </summary>
        public double AverageWeight { get; set; }
        /// <summary>
        /// 到厂时间
        /// </summary>
        public DateTime FactoryTime { get; set; }
        /// <summary>
        /// 屠宰时间
        /// </summary>
        public DateTime SlaughterTime { get; set; }
    }
}
